<?php
include_once "../librari/koneksi.php";


$sql = "SELECT * FROM pelamar";
$qry = mysql_query($sql) or die ("Gagal query pelamar".mysql_error());
$data = mysql_fetch_array($qry);
	if ($data['kelamin']=="P") {
		$kelamin = "Pria";
	}
	else {
		$kelamin = "Wanita";
	}
	
	$TxtNama 	= $_POST['nama'];
	$TxtAlamat	= $_POST['alamat']; 	
	$TxtEmail	= $_POST['email'];
	$RbKelamin 	= $_POST['kelamin'];
	$SlctUsia	= $_POST['usia'];
	$TxtAgama	= $_POST['agama'];
	$SlctPend	= $_POST['pend'];
	$SlctProdi	= $_POST['prodi'];
	$TxtarKemp	= $_POST['kemp'];
	$SlctPosisi	= $_POST['posisi'];
	$TxtKtp	    = $_POST['ktp'];
	$TxtIjasah  = $_POST['ijasah'];
?>
<style type="text/css">
<!--
.style2 {font-size: 16px}
-->
</style>

<table width="71%" border="0" align="center" cellpadding="0" cellspacing="2">
  <tr align="center"> 
    <td height="22" colspan="3" bgcolor="#999999" class="HEAD"><b>PENDAFTARAN 
      SUKSES</b></td>
  </tr>
  <tr> 
    <td height="46" colspan="3" bgcolor="#EEEEEE"><span class="style2">Pendaftaran SUKSES, Anda sekarang telah terdaftar sebagai pelamar calon karyawan Penerbit-Percetakan Kanisius Yogyakarta. Anda akan dihubungi pihak kami melalui email anda jika anda lolos dalam tahap seleksi administrasi ini untuk meneruskan seleksi tahap berikutnya. </span></td>
  </tr>
  <tr align="center"> 
    <td height="22" border="1" colspan="3" bgcolor="#999999" class="HEAD"><b>DETAIL DATA 
      ANGGOTA</b></td>
  </tr>
  <tr> 
    <td height="19" border="1" colspan="3" bgcolor="#EEEEEE">&nbsp;&nbsp;<b>Data Pribadi</b></td>
  </tr>
  <tr>
    <td width="20%"> No.ID Tes </td>
    <td width="1%">:</td>
    <td width="79%">&nbsp;</td>
  </tr>
  <tr>
    <td> Tahun</td>
    <td>:</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>Gelombang</td>
    <td>:</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>Nama Lengkap</td>
    <td>:</td>
    <td><?php echo $TxtNama; ?></td>
  </tr>
  <tr>
    <td>Alamat</td>
    <td>:</td>
    <td><?php echo $TxtAlamat; ?></td>
  </tr>
  <tr>
    <td>Email</td>
    <td>:</td>
    <td><?php echo $TxtEmail; ?></td>
  </tr>
  <tr>
    <td>Jenis Kelamin </td>
    <td>:</td>
    <td><?php echo $RbKelamin; ?></td>
  </tr>
  <tr>
    <td>Usia</td>
    <td>:</td>
    <td><?php echo $SlctUsia; ?></td>
  </tr>
  <tr>
    <td>Agama</td>
    <td>:</td>
    <td><?php echo $TxtAgama; ?></td>
  </tr>
  <tr>
    <td>Pendidikan</td>
    <td>:</td>
    <td><?php echo $SlctPend; ?></td>
  </tr>
  <tr>
    <td>Program Studi </td>
    <td>:</td>
    <td><?php echo $SlctProdi; ?></td>
  </tr>
  
  <tr>
    <td>Kemampuan Penunjang </td>
    <td>:</td>
    <td><?php echo $TxtarKemp; ?></td>
  </tr>
  <tr>
    <td>Posisi</td>
    <td>:</td>
    <td><?php echo $SlctPosisi; ?></td>
  </tr>
  <tr>
    <td>No. KTP </td>
    <td>:</td>
    <td><?php echo $TxtKtp; ?></td>
  </tr>
  <tr>
    <td>No. Ijasah </td>
    <td>:</td>
    <td> <?php echo $TxtIjasah; ?></td>
  </tr>
  
  <tr>
    <td>&nbsp;</td> 
    <td>&nbsp;</td>
    <td>&nbsp; </td>
  </tr>
</table>
<form id="form1" name="form1" method="post" action="input_data_pelamar.php">
  <label></label>
  <table width="86%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="51%">&nbsp;</td>
      <td width="11%"><label>
        <input type="submit" name="KEMBALI HALAMAN DEPAN" value="KEMBALI HALAMAN DEPAN" />
      </label></td>
      <td width="31%">&nbsp;</td>
      <td width="7%"><label></label></td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
<p>&nbsp;</p>
